package com.atguigu.ggkt.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

@Getter
public enum Env {
    local("local","本地环境"),
    dev("dev","开发环境"),
    uat("uat", "UAT环境"),
    prod("prod", "生产环境");

    @EnumValue
    private String code ;
    private String comment ;

    Env(String code, String comment ){
        this.code=code;
        this.comment=comment;
    }

    public static void main(String[] args) {
        System.out.println(Env.local);
    }
}
